package com.onLineCar.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @Author The future is full of hope
 * @CreateTime 2023/12/27 0027 14:49
 * @PackageName:com.onLineCar.driver.domain.entity
 * @ClassName: Wallet
 */

/**
 * 钱包服务表
 */
@Data
public class Wallet {

    private Integer walletId;  // 钱包ID
    private BigDecimal walletBalance;  // 钱包余额
    private Integer discountId;  // 优惠券ID
    private Integer walletState;  // 钱包状态
    private String walletPwd;  // 钱包密码
    private Long userId;  // 用户ID
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;  // 创建时间
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;  // 更新时间
    private Integer delete;  // 删除标记

}
